//
//  KTBaseCellModel.m
//  KTLotteryTicket
//
//  Created by CoolKi on 16/3/8.
//  Copyright © 2016年 CoolKi. All rights reserved.
//

#import "KTBaseCellModel.h"

@implementation KTBaseCellModel
+ (instancetype)cellModelByCellTitle:(NSString *)titleString  DetailTitle:(NSString *)detailTitle AndIconImageName:(NSString *)imageName{
    
    //父类指针指向子类对象，这是不是多态
    KTBaseCellModel * model = [[self alloc]init];
    model.titleStr = titleString;
    model.iconImg = [UIImage imageNamed:imageName];
    model.detailTitleStr = detailTitle;
    
    return model;
}
@end
